package com.kiwi.cases.match.matchenter;

import com.google.common.reflect.TypeToken;
import com.kiwi.constant.ConstantURL;
import com.kiwi.util.APIEncryptSet;
import com.netease.shockwave.http.HttpHandler;
import com.netease.shockwave.testng.ShockwaveTestNG;
import jxl.read.biff.BiffException;
import org.apache.log4j.Logger;
import org.databene.benerator.anno.Source;
import org.databene.feed4testng.FeedTest;
import org.testng.Assert;
import org.testng.ITestContext;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;

import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

import static com.kiwi.constant.Constant.COMMON_GSON;
import static com.kiwi.constant.ConstantURL.PANDORA_MATCH_ENTER_DIR;
import static com.kiwi.util.excel.JxlReader.jxlReader;

/**
 * 测试接口：密码登录接口 http://uc.s.kiwi.com/api/login
 *
 * @param
 * @param
 * @author hancongcong
 */
public class MatchEnterFeederTest extends FeedTest
{
    private static ArrayList<String> sheetNames;
    private  Logger logger = Logger.getLogger(MatchEnterFeederTest.class);

    @BeforeClass
    public void BeforeClassTest()
    {
        logger.info("@test：用户游戏匹配测试开始");

    }
    @Test(description = "yonghu用户/match/enter", dataProvider = "feeder")
    @Source("src/main/java/com/kiwi/cases/match/matchenter/test2.xls")
    public void testMatchEnter(String accountId,String playId,String gameId) throws Exception {
        System.out.println(accountId);
        System.out.println(playId);
        System.out.println(gameId);
       // Assert.assertEquals(accountId,"a");
    }

    @AfterClass
    public void AfterClassTest()
    {

        logger.info("用户游戏匹配测试结束");
    }


}
